package com.umakr.ax.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;


/**
 * <p>
 * 用户详情
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2018-01-02
 */
@TableName("rd_user_details")
@SuppressWarnings("serial")
public class UserDetails extends BaseModel {

	/**
	 * 用户登陆id
	 */
    @TableField("user_id")
	private Long userId;
    /**
     * 昵称
     */
	private String nickname;
    /**
     * 头像
     */
	private String headimgurl;
    /**
     * 手机号
     */
	@TableField("user_phone")
	private String userPhone;
    /**
     * 性别
     */
	private Integer sex;
    /**
     * 国家
     */
	private String country;
    /**
     * 城市
     */
	private String city;
    /**
     * 省份
     */
	private String province;

	/**
	 * openid(针对APP登录)
	 */
	private String openid;
    /**
     * 只有在用户将公众号绑定到微信开放平台帐号后，才会出现该字段。
     */
	private String unionid;
    /**
     * 身份证号
     */
	@TableField("user_card")
	private String userCard;
    /**
     * 附件信息
定义好附件规则，如
{"card1":'身份证正面',"card2":"身份证背面"}
     */
	@TableField("extra_info")
	private String extraInfo;
    /**
     * 民族
     */
	private Integer nation;
    /**
     * 生日
     */
	private String birthday;
    /**
     * 真实姓名
     */
	private String realname;
    /**
     * 对应本平台地区表id
     */
	@TableField("area_id")
	private Integer areaId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("update_time")
	private Date updateTime;

	/**
	 * 实名认证 审核状态
	 * 0 审核失败
	 * 1 审核成功
	 * 2 待审
	 * 3 未认证
	 */
	@TableField("user_audit_status")
	private Integer userAuditStatus;


	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getHeadimgurl() {
		return headimgurl;
	}

	public void setHeadimgurl(String headimgurl) {
		this.headimgurl = headimgurl;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getUnionid() {
		return unionid;
	}

	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}

	public String getUserCard() {
		return userCard;
	}

	public void setUserCard(String userCard) {
		this.userCard = userCard;
	}

	public String getExtraInfo() {
		return extraInfo;
	}

	public void setExtraInfo(String extraInfo) {
		this.extraInfo = extraInfo;
	}

	public Integer getNation() {
		return nation;
	}

	public void setNation(Integer nation) {
		this.nation = nation;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

	public Integer getUserAuditStatus() {
		return userAuditStatus;
	}

	public void setUserAuditStatus(Integer userAuditStatus) {
		this.userAuditStatus = userAuditStatus;
	}
}